package com.hotel.service.impl;

import java.util.List;

import com.hotel.dao.AccountDao;
import com.hotel.entity.Account;
import com.hotel.service.AccountService;

public class AccountServiceImpl implements AccountService {

	private AccountDao accountDao;

	@Override
	public Account login(Account account) {
		System.out.println("进入service层登录方法");
		return accountDao.selectByAccount(account);
	}

	
	public void setAccountDao(AccountDao accountDao) {
		this.accountDao = accountDao;
	}


	@Override
	public List<Account> show(Account user) {
		return null;
	}

}
